import { useLayout } from "../components/useLayout";
import MainLayout from "./MainLayout";
import AltLayout from "./AltLayout";

function LayoutWrapper() {
  const { layoutType } = useLayout();
  
  if (layoutType === "vertical") {
    return <AltLayout />;
  }
  return <MainLayout />;
}

export default LayoutWrapper;